<?php
// run this once only
require_once 'sr23_pdo.php';

$sr23pdo = new sr23_pdo();

if (!$sr23pdo) {
    print '<p>Initial Object failed to be created!</p>';
}

// otherwise, let us proceed with usage of this object.
// proceed first with creating the tables
$results = $sr23pdo->create_tables();
$sr23pdo->print_pretty_array($results);

// then populate the tables
$sr23pdo->populate_abbreviated_table_mysql();
$sr23pdo->populate_food_description_table_mysql();

// provide a link to the main application
print '<p>You have successfully created and populated the database tables.</p>';

